public enum NoteType
{
    Tap = 0,
    Drag = 1,
    Hold = 2,
    DFlick = 3
}

public class NoteData
{
    public NoteType type;
    public int startTrack;
    public Mixed startBeat;
    public int endTrack;
    public Mixed endBeat;

    public NoteData(NoteType _type, int _startTrack, Mixed _startBeat, int _endTrack, Mixed _endBeat)
    {
        type = _type;
        startTrack = _startTrack;
        startBeat = _startBeat;
        endTrack = _endTrack;
        endBeat = _endBeat;
    }
}
